package com.hopu.blb_erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hopu.blb_erp.entity.PageEntity;
import com.hopu.blb_erp.entity.TMenu;
import com.hopu.blb_erp.entity.TShelves;
import com.hopu.blb_erp.entity.TWarning;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TWarningService extends IService<TWarning> {
    List<TWarning> selectAll();
    PageEntity<TWarning> findPage(Integer current, Integer pageSize);
    Integer selectCounts(@Param("productId")String productId, @Param("warehouseId")String menuName);
    //分页模糊查询
    PageEntity<TWarning> findPages(Integer current, Integer pageSize, String productId,String menuName);
    //通过仓库编号查询
    List<TWarning> selectNum(String menuId);
    TWarning selectNums(String menuId);

}
